"""
API v1主路由
"""
from fastapi import APIRouter
from .endpoints import auth, departments, employees, students, courses, orders, admin, student_detail

api_router = APIRouter()

# 认证路由
api_router.include_router(auth.router, prefix="/auth", tags=["认证"])

# 基础数据路由
api_router.include_router(departments.router, prefix="/departments", tags=["部门管理"])
api_router.include_router(employees.router, prefix="/employees", tags=["员工管理"])

# 业务数据路由
api_router.include_router(students.router, prefix="/students", tags=["学员管理"])
api_router.include_router(student_detail.router, prefix="/students", tags=["学员详细信息"])
api_router.include_router(courses.router, prefix="/courses", tags=["课程管理"])
api_router.include_router(orders.router, prefix="/orders", tags=["订单管理"])

# 超级管理员路由
api_router.include_router(admin.router, prefix="/admin", tags=["超级管理员"])
